-- vim.o.guifont      = "Fira Code:h14"
vim.o.mouse = "a"
vim.opt.clipboard:prepend({ "unnamed", "unnamedplus" })
vim.o.scrolloff = 3
vim.o.linebreak = true
vim.o.swapfile = false
vim.o.writebackup = false
vim.o.wrap = false
vim.o.splitbelow = true
-- vim.o.fileformat   = "dos"
-- vim.o.fileformats  = "dos,unix,mac"
vim.o.confirm = true
vim.o.splitright = true
vim.o.cursorline = true

vim.o.cindent = true
vim.o.autochdir = true
vim.o.virtualedit = "block"
vim.o.ignorecase = true
vim.o.smartcase = true

vim.wo.number = true

vim.o.expandtab = true
vim.o.shiftwidth = 4
vim.o.tabstop = 4
vim.o.softtabstop = 4

vim.o.termguicolors = true
vim.g.history = 100000
vim.o.updatetime = 200

-- vim.g.python3_host_skip_check = 1
-- vim.g.python_host_prog = vim.fn.exepath("python")
-- vim.g.python3_host_prog = vim.fn.exepath("python")

vim.filetype.add({
    extension = {
        ["do"] = "tcl",
        ucf = "ucf",
        cmd = "cmd",
        xdc = "xdc",
        v = "verilog",
        vh = "verilog",
        slint = "slint",
        dtsi = "dts",
        snippets = "snippets",
    },
    filename = {
        [".clang-format"] = "conf",
        [".gitignore"] = "gitignore",
    },
    pattern = {},
})
